<?php
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.libs.view.templates.layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
              echo $this->Html->meta('icon');

              echo $this->Html->css('main');
              echo $this->Html->css('jquery-ui/jquery-ui-1.8.5.custom');
              echo $this->Html->css('colorbox/colorbox');
              echo $this->Html->css('jquery_validation_css/validationEngine.jquery');
              echo $this->Html->css('jquery-alerts/jquery.alerts');
              echo $this->Html->css('flexgrid_css/flexigrid');

              echo $this->Html->script('jquery-1.7.1.min.js');
              echo $this->Html->script('jquery.animate-colors.js');
              echo $this->Html->script('jquery.form.js');
              echo $this->Html->script('jquery-alerts/jquery.alerts.js');
              echo $this->Html->script('ajaxLib.js');
              echo $this->Html->script('ajaxupload.js');
              echo $this->Html->script('flexigrid.js');
              echo $this->Html->script('jquery.colorbox-min.js');

              echo $this->Html->script('external/jquery.bgiframe-2.1.1.js');
              echo $this->Html->script('ui/jquery.ui.core.js');
              echo $this->Html->script('ui/jquery.ui.widget.js');
              echo $this->Html->script('ui/jquery.ui.mouse.js');
              echo $this->Html->script('ui/jquery.ui.draggable.js');
              echo $this->Html->script('ui/jquery.ui.position.js');
              echo $this->Html->script('ui/jquery.ui.dialog.js');
              echo $this->Html->script('ui/jquery.ui.datepicker.js');

              # include the javascript that handles all user actions on the page
              echo $this->Html->script('jquery_validation/jquery.validationEngine.js');
              echo $this->Html->script('jquery_validation/jquery.validationEngine-en.js');
              
              //echo $this->Html->script('jquery-dataTable/jquery.dataTables.min.js');
              //echo $this->Html->script('jquery-dataTable/TableTools.min.js');
              echo $this->Html->script('custom-scripts/accountSettings.js');

		echo $scripts_for_layout;
	?>
</head>
<body>
<?php echo $this->element('modal'); ?>
<?php echo $this->element('loader'); ?>
<?php echo $this->element('page_header'); ?>
<?php echo $this->element('account_setting'); ?>
<div id="content-wrapper">
       <!-- Content Header-->
       <div id="page-content-header" class="trailbox">
            <ul class="breadcrumbtrail">
                <li><?php echo $this->Html->link('Dashboard', array('controller' => 'Dashboard', 'action' => 'index'));?></li>
                <li> > </li>
                <li><a href="javascript: void(0);"><?php echo ucfirst($this->params['controller']) ;?></a></li>
            </ul> 
       </div>
       <!-- Content box-->
       <div id="content">
            <table border="0" width="100%">
                <tr>
                    <td style="vertical-align: top;">
                         <!-- Main -->
                          <div id="main">
                                 <!-- Content data box -->
                                 <div id="content-pane" class="layout-pane">
                                        <?php echo $content_for_layout; ?>
                                 </div>
                          </div>
                    </td>
                </tr>
            </table>
       </div>
</div>
<?php echo $this->element('feedback_bar'); ?>
<?php echo $this->element('page_footer'); ?>
<?php // echo $this->element('sql_dump'); ?>
</body>
</html>